package com.syni.mdd.sjb.common.datatreaure.controller.protect;


import com.syni.mdd.sjb.common.component.utils.common.annotations.CheckUserIdentity;
import com.syni.mdd.sjb.common.datatreaure.controller.BaseController;
import com.syni.mdd.sjb.common.datatreaure.service.DxshAppServiceSonService;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

/**
 * <p>
 * 电享生活APP 服务子类表 前端控制器
 * </p>
 *
 * @author lcc
 * @since 2020-04-26
 */
@RestController
@RequestMapping("/dxshAppServiceSon")
public class DxshAppServiceSonController extends BaseController {

    @Autowired
    DxshAppServiceSonService dxshAppServiceSonService;

    @PostMapping("/getServiceType")
    @ApiOperation(value = "获取服务类型")
    @CheckUserIdentity
    public Map<String,Object> getServiceType(){
        return dxshAppServiceSonService.getServiceType();
    }


}
